package com.yunhe.common.constant;

/**
 * 能量常量定义
 * @author liuronglei
 */
public class EnergyConsts {

    // 电量类型定义
    public enum ELECTRICITY_TYPE {
        All("all", "总"),
        Sharp("sharp", "尖"),
        Peak("peak", "峰"),
        Flat("flat", "平"),
        Valley("valley", "谷");
        private String value;
        private String title;
        ELECTRICITY_TYPE(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }
}
